package com.platform.api.common.constants;

/**
 * @author guoyunfei on 2022/6/10 22:43
 * @className ByteConstants 直接平台常量
 * @description TODO
 * @Version 1.0
 */
public class ByteConstants {

    /**
     * 支付密钥值 SALT
     */
    public static final String SALT = "mB2QWktC6rGMcWiJYr79SKr5RhzM6TgFelPfUN6w";

    /**
     * token
     */
    public static final String TOKEN = "niojreojaswemJUHSIUHSFHWU897941246kmoJNSUDHUNUANNUAN";

    /**
     * 登录
     */
    public final static String DY_LOGIN_URL = "https://developer.toutiao.com/api/apps/v2/jscode2session";
    /**
     * 抖音固定参数
     */
    public final static String DY_LOGIN_GRANT_TYPE = "grant_type";

    /**
     * 抖音创建订单接口
     */
    public final static String DY_CREATE_ORDER = "https://developer.toutiao.com/api/apps/ecpay/v1/create_order";

    /**
     * 抖音订单退款接口
     */
    public final static String DY_REFUND_ORDER = "https://developer.toutiao.com/api/apps/ecpay/v1/create_refund";

    /**
     * 分账
     */
    public static final String SETTLE_URI = "https://developer.toutiao.com/api/apps/ecpay/v1/settle";

    /**
     * 抖音订单退款接口
     */
    public final static String DY_NOTIFY = "/manage/app/dyPay/notify";

    /**
     * 抖音支付成功标识
     */
    public final static String DY_PAY_FLAG = "payment";
    /**
     * 退款标识
     */
    public final static String REFUND_FLAG = "refund";
    /**
     * 分账标识
     */
    public final static String SETTLE_FLAG = "settle";

    public final static String MINI_ACCESS_TOKEN = "mp:douyin:mini_access_token";

    public final static long MINI_ACCESS_TOKEN_TIME = 3600;




}
